package com.cellngine;

import java.math.BigDecimal;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class Constants
{
	public static DateFormat	date_format_logger_file		= new SimpleDateFormat(
																	"yyyy.MM.dd_HH.mm.ss");
	public static DateFormat	date_format_logger_entry	= new SimpleDateFormat("HH:mm:ss");
	
	public static int			VERSION_MAJOR				= 0;
	public static int			VERSION_MINOR				= 1;
	public static Integer		VERSION_REVISION			= null;
	
	public static BigDecimal	ZERO						= new BigDecimal("0.00");
	
	public static final int		default_port				= 24558;
	public static final int		default_maxplayers			= 16;
	public static final int		connections_per_client		= 3;
	public static final int		socket_timeout_ms			= 10000;
	public static final int		elgamal_key_bytes			= 256;
	public static final int		sha2_length_bytes			= 64;
	public static final int		session_id_length_bytes		= 128;
	
	public static enum log_type
	{
		error, message, info, debug;
	}
	
	/** cellngine.hub */
	public static enum hub_http_methods
	{
		get, post, put
	}
}